package com.bootdo.wx.service;

import com.bootdo.common.utils.Query;
import com.bootdo.common.utils.R;
import com.bootdo.wx.domain.OrderTeamMoneyDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 团队业绩表
 * 
 * @author long
 * @email 499626561@qq.com
 * @date 2021-05-12 10:17:05
 */
public interface OrderTeamMoneyService {
	
	OrderTeamMoneyDO get(String id);
	
	List<OrderTeamMoneyDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderTeamMoneyDO orderTeamMoney);
	
	int update(OrderTeamMoneyDO orderTeamMoney);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<OrderTeamMoneyDO> likeList(Map<String, Object> map);

    R getUpgradeRules(Map<String, Object> params);

	List<Map<String,Object>> listByApplyId(Query query);

	int listByApplyIdTotal(Query query);

	List<Map<String, Object>> listByUserId(Query query);

	int listByUserIdTotal(Query query);
}
